package com.five.community.service;

import com.five.community.bean.Chargeproject;
import com.five.community.bean.Person;
import com.five.community.bean.vo.ChargeprojectVo;
import com.five.community.bean.vo.PersonVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ChargeprojectService {
    //查询chargeproject所有信息
    List<Chargeproject> selectAllChargeproject() throws Exception;
    //查询Vo收费项目表所有信息
    List<ChargeprojectVo> selectAll() throws Exception;


    //新增,插入一条Vo信息
    void insert(Chargeproject chargeproject)throws Exception;

    //根据id删除一条Vo数据
    void deleteById(int id)throws Exception;

    //根据id修改一条Vo数据
    void update(Chargeproject chargeproject)throws Exception;

    //根据id查询信息（用于根据id修改该id的信息）
    Chargeproject selectById(int id) throws Exception;

    //根据输入的姓名查询收费账单
    List<ChargeprojectVo> selectByName(String name) throws Exception;

    PageInfo<ChargeprojectVo> getPageInfo(Integer pageNum, int chargepageSize)throws Exception;
}
